import request from "./request";

// 获取数据
export const requestByDoctor = async (data: any) => await request.get("/api/doctor/getdoctorlist", data)

// 查询数据
export const requestSearch = async (data: any) => await request.post("/api/doctor/screen", data)

// 删除数据
export const requestDel = async (id: any) => await request.post("/api/doctor/del", id)

// 获取编辑数据
export const requestEdit = async (id: any) => await request.get("/api/doctor/edit", id)


